// components/son/son.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    msg:{
      type:String,
      value:"hello"
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },


  /**
   * 组件的方法列表
   */
  methods: {
    toFather(){
      console.log(99999999);
      this.triggerEvent('suibian', "sonsonson")
    }
  },
  created(){
    console.log("created");
  }, 
 
  ready(){
    console.log("ready");
  },

  attached(){
    console.log("attached");
  },
  detached(){
    console.log("detached");
  }
})
